<div>
    <div id="wrapper">
    	<!--BEGIN TOPBAR-->
        <nav id="topbar" role="navigation" style="margin-bottom: 0;" class="navbar navbar-default navbar-static-top">
            <div class="navbar-header">
                <button type="button" data-toggle="collapse" data-target=".sidebar-collapse" class="navbar-toggle"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
                <a id="logo" href="index.html" class="navbar-brand"><span class="fa fa-rocket"></span><span class="logo-text">logo</span></a>
            </div>
            <div class="topbar-main"><a id="menu-toggle" href="#" class="btn hidden-xs"><i class="fa fa-bars"></i></a>
             	<div style="width:400px;height:65px;float:left; line-height: 65px; margin-left:36px;font-size: 28px;">
                	<b>${platform}</b>
                </div>
                                <ul class="nav navbar-top-links navbar-right">
                    <li class="dropdown"><a data-toggle="dropdown" href="#" class="dropdown-toggle">
                    	<img src="${root}/assets/common/images/icons/head.jpg" alt="" class="img-responsive img-circle"/>&nbsp;
						你好！ ${(user.username)!}
                        &nbsp;<span class="caret"></span></a>
                        <ul class="dropdown-menu dropdown-user pull-right animated bounceInLeft">
                            <li>
                                <div class="navbar-content">
                                    <div class="row">
                                        <div class="col-md-5 col-xs-5"><img src="${root}/assets/common/images/icons/head.jpg" alt="" class="img-responsive img-circle"/>

                                            <p class="text-center mtm"><a href="#" class="change-avatar">
                                                <small><!-- 修改  --></small>
                                            </a></p>
                                        </div>
                                        <div class="col-md-7 col-xs-5"><span>${(user.username)!'匿名'}</span>

                                            <p class="text-muted small">${(user.email)!}</p>

                                            <div class="divider"></div>
                                            <a href="${base}/menus/basic-info.html" class="btn btn-primary btn-sm">个人设置</a></div>
                                    </div>
                                </div>
                                <div class="navbar-footer">
                                    <div class="navbar-footer-content">
                                        <div class="row">
                                            <div class="col-md-6 col-xs-6"><a href="${base}/menus/password.html" class="btn btn-default btn-sm">修改密码</a></div>
                                            <div class="col-md-6 col-xs-6"><a href="/logout.html" class="btn btn-default btn-sm pull-right">退出</a></div>
                                        </div>
                                    </div>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>

        <!--END TOPBAR-->
        <!--BEGIN SIDEBAR MENU-->
        <script type="text/javascript">
        	$(function(){
        		/**
        		 * 前台菜单激活展开方法
        		 */
        		function font_menu_active(){
	        		$(".nav-second-level").removeClass("in");
	        		$(".nav-second-level li").removeClass("active");
	        		$(".nav-second-level li [href='${url}']").parent().addClass("active").parent().addClass("in");
        		}
        		font_menu_active();
        	});
        </script>
        <nav id="sidebar" role="navigation" class="navbar-default navbar-static-side">
            <div class="sidebar-collapse menu-scroll">
                <ul id="side-menu" class="nav">
                     <li class="clock"><strong id="get-date"></strong>
                        <div class="digital-clock">
                            <div id="getHours" class="get-time"></div><span>:</span><div id="getMinutes" class="get-time"></div><span>:</span><div id="getSeconds" class="get-time"></div>
                        </div>
                    </li>
                    
                    <li>
                        <a href="${base}/main.html"><i class="fa fa-home fa-fw"></i><span class="menu-title">首页</span></a>
                    </li>
                    <#if menu?? && menu?size gt 0>
	                    <#list menu?keys as key>
	                    <li>
	                    	<a href="#" class="nav-first-level-a"><i class="fa ${menu[key].menuIcon!'icon-bar-chart'} fa-fw"></i><span class="menu-title">${menu[key].menuName}</span><span class="fa arrow"></span></a>
	                    	<ul class="nav nav-second-level">
		                    	<#if menu[key].childrens?? && menu[key].childrens?size gt 0>
		                    		<#list menu[key].childrens as c>
					                    <li><a href="<#if c.url?? && c.url?length gt 0>${base}/${c.url!''}<#else>javascript:void(0);</#if>"><i class="fa fa-fw"></i><span class="menu-title">${c.menuName!''}</span></a></li>
		                    		</#list>
		                    	</#if>
	                    	</ul>
	                    <li>
	                    </#list>
	                </#if>
                </ul>
            </div>
        </nav>
        <!--END SIDEBAR MENU-->